home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000467_news@columbia.edu _Fri Aug 18 16:06:58 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
4KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA22100
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05146
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA10923
for kermit.misc@watsun.cc.columbia.edu; Fri, 18 Aug 2000 16:04:28 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: Q on Answer Status
Date: 18 Aug 2000 20:04:27 GMT
Organization: Columbia University
Message-ID: <8nk4sb$al8$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <399d94d9.25921328@news.earthlink.net>,
Bob Mariotti <bobm@cunix.com> wrote:
: I am new to c-kermit and so far my scripts have been coming along
: steadily. But there are some things I cannot find answers to either
: on the web or in the manuals (purchased or downloaded).
:
: Perhaps some of you can help.
:
: 1) On our server side we have a kermit script that constantly waits
: for an incoming call. We use the "ans" command. If this fails we
: simply branch back and execute ans again. However, we wish to detect
: an abort (Ctrl+C) to exit the script or perhaps a kill sig-usr to
: terminate the script. We cannot find anyway to examine the status of
: the answer.. Any ideas or suggestions?
:
Like it says in the manual, you can use the \v(dialstatus) variable.
: 2) We are using INPUT to read a string from the remote site. We wish
: to parse it into separate fields based on field delimiters. Again, we
: have played with several of the functions with no luck. Any
: suggestions on how to parse a string into separate fields and compare
: some of them to determine what should be done?
:
C-Kermit 7.0 has a new function \fsplit(). Type "help function split"
for specs.
- Frank
From news@columbia.edu Fri Aug 18 16:06:59 2000
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA11981
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:58 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05143
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 18 Aug 2000 16:06:57 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA10421
for kermit.misc@watsun.cc.columbia.edu; Fri, 18 Aug 2000 15:54:59 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: bobm@cunix.com (Bob Mariotti)
Subject: Q on Answer Status
Organization: Financial DataCorp
Message-ID: <399d94d9.25921328@news.earthlink.net>
Date: Fri, 18 Aug 2000 19:54:57 GMT
To: kermit.misc@columbia.edu
I am new to c-kermit and so far my scripts have been coming along
steadily. But there are some things I cannot find answers to either
on the web or in the manuals (purchased or downloaded).
Perhaps some of you can help.
1) On our server side we have a kermit script that constantly waits
for an incoming call. We use the "ans" command. If this fails we
simply branch back and execute ans again. However, we wish to detect
an abort (Ctrl+C) to exit the script or perhaps a kill sig-usr to
terminate the script. We cannot find anyway to examine the status of
the answer.. Any ideas or suggestions?
2) We are using INPUT to read a string from the remote site. We wish
to parse it into separate fields based on field delimiters. Again, we
have played with several of the functions with no luck. Any
suggestions on how to parse a string into separate fields and compare
some of them to determine what should be done?
Thanks in advance for your kind kermit help.
Bob